module.exports = class extends think.Model {
    get relation() {
        return {
            location: {
                key: 'location_id',
                fKey: 'id',
                type: think.Model.HAS_ONE
            },
            ping_ip: {type: think.Model.HAS_MANY},
            master: {
                type: think.Model.HAS_ONE,
                key: 'master_id',
                fKey: 'id'
            }
        };
    }
};
